package field;

import field.Field.FieldType;
import building.Building;

public class InvalidBuildingForThisTypeException extends Exception {


	/**
	 * 
	 */
	private static final long serialVersionUID = -2468646210903869685L;
	private final FieldType type;
	private final Building building;

	public InvalidBuildingForThisTypeException(FieldType type, Building building) {
		this.type = type;
		this.building = building;
	}

	public FieldType getType() {
		return type;
	}

	public Building getBuilding() {
		return building;
	}
}
